package com.springboot.admin.exception;

/************************************************************************
 *
 *    Copyright  Copyright 2021 Google Inc.
 *    File Name: UserTooManyException
 *    Description: 自定义异常
 *
 *    Version: V1.0
 *    Author: Fuc
 *    Create Time: 2021-01-08
 *
 *************************************************************************/

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

@ResponseStatus(value = HttpStatus.FORBIDDEN, reason = "用户数量太多")
public class UserTooManyException extends RuntimeException {

  public UserTooManyException() {}

  public UserTooManyException(String message) {
    super(message);
  }
}
